<?php

// +----------------------------------------------------------
// | TV Shop
// +----------------------------------------------------------
// | KHK - 2 TI - 201x-201x
// +----------------------------------------------------------
// | MY url helper
// |
// +----------------------------------------------------------
// | Nicola Beysen
// +----------------------------------------------------------

function liAnchor($uri = '', $title = '', $activeItem = '', $activeItemSide = '', $attributes = '') {
    if ($title == $activeItem) {
        $attributes = array('class' => 'activeItem');
    }
    if ($title == $activeItemSide) {
        $attributes = array('class' => 'activeItemSide');
    }
    return "<li >" . anchor($uri, $title, $attributes) . '</li>';
}

?>
